package org.JieKou;

import java.io.*;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.ZonedDateTime;
import java.util.Date;

public class M21 {
    public static void main(String[] args) throws FileNotFoundException {
       /* File s21=new File("E:\\s1\\021");
        File s22=new File("E:\\s1\\021");
        System.out.println(s22.isFile());
        InputStream s20=new FileInputStream("E:\\s1\\021");*/
        //ByteArrayOutputStream s01=new ByteArrayOutputStream();
        //String k25=new String("李卫");
        //System.out.println(k25);
        //CharArrayWriter writerArray=new CharArrayWriter();
        //writerArray.write(53);
        //writerArray.write(73);
        //System.out.println(writerArray);
        LocalDate k2= LocalDate.now();
        LocalDateTime k3=LocalDateTime.now();
        LocalTime k55=LocalTime.now();
        String k85=new String("小明");
        Date k214=new Date();
        long k21=k214.getTime();
        SimpleDateFormat s01=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String formatted=s01.format(k214);
        System.out.println(formatted);
        LocalDateTime k32=LocalDateTime.now();
        ZonedDateTime k325=ZonedDateTime.now();
        System.out.println(k32);
        System.out.println(k325);
        //System.out.println(k2);
        //System.out.println(k3);
       // System.out.println(k55);
       // System.out.println(k85);
    }
}
